//
//  LocationToolObject.h
//  DDSocial
//
//  Created by admin on 2018/9/28.
//  Copyright © 2018年 XY. All rights reserved.
//

#import <Foundation/Foundation.h>


@interface SystemPermissionsToolObject : NSObject

#if NS_BLOCKS_AVAILABLE

typedef void(^ReturnBlock)(BOOL isOpen);

typedef void(^StringBlock)(NSString *str);

#endif

+ (void)openLocationServiceWithBlock:(ReturnBlock)returnBlock;

+ (void)openMessageNotificationServiceWithBlock:(ReturnBlock)returnBlock;

+ (void)openCaptureDeviceServiceWithBlock:(ReturnBlock)returnBlock;

+ (void)openAlbumServiceWithBlock:(ReturnBlock)returnBlock;

//iOS14判断相册权限
+ (void)determineLatestPermissionsOfTheLocalAlbum;

//+ (void)openContactsServiceWithBolck:(ReturnBlock)returnBolck;
//
//+ (void)openPeripheralServiceWithBolck:(ReturnBlock)returnBolck;
//
//+ (void)openEventServiceWithBolck:(ReturnBlock)returnBolck;
//
//+ (void)openMediaPlayerServiceWithBlock:(ReturnBlock)returnBlock;

@end
